package com.example.wto.viewpagertest01;

public class ParseHtmlFactory
{
	public static String TEACHER="teacher";
	public static String LESSON="lesson";
	public static String CLASSROOM="classroom";
	public ParseHtml createParseHtml(CollegeBean collegeBean,String type)
	{
		if(type.equals("teacher"))
		{
			return new ParseTeacherHtml(collegeBean);
		}
		if(type.equals("lesson"))
		{
			return new ParseLessonHtml(collegeBean);
		}
		if(type.equals("class"))
		{
			return new ParseLessonHtml(collegeBean);
		}
		return null;
	}
}
